<?php 

require 'php/init.php';

$googleLogin = GoogleOpenID::getResponse();
if($googleLogin->success()){
	$user_id = $googleLogin->identity();
	$user_email = $googleLogin->email();
	$params = array_merge($params, array('user_gid'=>$user_id, 'user_gmail'=>$user_email));
	DB::setUserAccount($params);
}

?>